<!doctype html>
<html lang="zh_cn">
<head>
    <meta charset="UTF-8">
    <title>提示页</title>
    <style>
        .border_wrapper { width: 500px; height: 400px; border-radius: 4px; border: 1px solid #ccc; box-shadow: 1px 1px 1px #ccc; margin: 150px auto;}
        .tips { width: 400px; height: 50px; margin: 0 auto; font-size: 20px; line-height: 50px; color: #333; border-bottom: 1px solid #cccccc;}
        .icon { width: 200px; height: 200px; margin: 40px auto;}
        .face_smaile { background: url("__PUBLIC__/admin/images/icon/face_smail.png")}
        .tips_tips { width: 400px; height: 30px; margin: 0 auto; font-size: 20px;}
        .tips_tips span { color: #00a2d4; font-size: 25px;}
        .face_kry { background: url("__PUBLIC__/admin/images/icon/kry.png")}
    </style>
</head>
<body>
<div class="border_wrapper">
    <div class="tips">操作提示</div>
    <div class="icontent">
        <div class="icon face_kry"></div>
        <div class="tips_tips">{$tips} <span>4</span>秒后跳转</div>
    </div>
</div>
</body>
</html>
<script>
    var tips = document.getElementsByClassName("tips_tips")[0].getElementsByTagName('span')[0];
    var time = 4;
    var redirectUrl = "{$url}"
    setInterval(function(){
        if(time==0){
            window.location.href=redirectUrl;
            return;
        }
        tips.innerHTML = time;
        time--
    },1000);
</script>